﻿<div class="modal fade {{modalClass}}" id="main-modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title" id="myModalLabel">{{title}}</h4>
            </div>
            <div class="modal-body">
                <p>{{text}}</p>
            </div>
            <div class="modal-footer">
                {{#each buttons}}
                <button class="btn btn-{{css}}" data-code="{{code}}" data-dismiss="modal" aria-hidden="true">{{title}}</button>
                {{/each}}
                <!--<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
                <button type="button" class="btn btn-success">Save changes</button>-->
            </div>
        </div>
    </div>
</div>

<!--<div id="main-modal" class="modal hide fade {{!modalClass}}" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">x</button>
        <h3 id="myModalLabel">{{!title}}</h3>
    </div>
    <div class="modal-body">
        <p>{{!text}}</p>
    </div>
    <div class="modal-footer">
        {{!#each buttons}}
        <button class="btn btn-{{!css}}" data-code="{{!code}}" data-dismiss="modal" aria-hidden="true">{{!title}}</button>
        {{!/each}}
    </div>
</div>-->